from django.contrib import admin
from fedexweb.pud.models import *


class CenterAdmin( admin.ModelAdmin ):
    list_display = ( 'number', 'name', 'email' )

class AddressAdmin( admin.ModelAdmin ):
    list_display = ( 'name', 'street', 'street2', 'city', 'state', 'zip' )

class DeliveryAdmin( admin.ModelAdmin ):
    list_display = ( 'origin', 'destination', 'ready', 'due' )

class PackageAdmin( admin.ModelAdmin ):
    list_display = ( 'type', 'size', 'weight' )


admin.site.register( Center, CenterAdmin )
admin.site.register( Address, AddressAdmin )
admin.site.register( Delivery, DeliveryAdmin )
admin.site.register( Package, PackageAdmin )
